if( Rails.controller == 'checkout/address' )
{
    Event.observe( window, 'load', function( ){

        if(obj = $('select_address'))
        {
            Event.observe(obj, 'change', function(e)
            {
                $('new_address_form').style.display = obj.selectedIndex == 0 ? 'block' : 'none'
            })

            $('new_address_form').style.display = obj.selectedIndex == 0 ? 'block' : 'none'
        }
    })
}
